FROM eclipse-temurin:8-jre-alpine

WORKDIR /app

COPY target/*.jar app.jar

EXPOSE 8080

# 运行 JAR 文件
ENTRYPOINT ["java", "-jar", "/app/app.jar"]